package com.jiuyin.dianjing.api.interfaces;

import com.google.gson.JsonObject;

/**
 * Description: api 回调结果
 * Author : steven
 *
 * @author Administrator
 */

public interface ApiResultCallback {

    /**
     * 成功回调
     *
     * @param data
     */
    void onSuccess(JsonObject data);

    /**
     * 失败回调
     *
     * @param msg
     */
    void onFail(String msg);

    /**
     * 错误回调
     *
     * @param msg
     */
    void onError(String msg);
}
